var i = require("../../../uv-ui-tools/libs/mixin/mpMixin.js"), o = require("../../../uv-ui-tools/libs/mixin/mixin.js"), e = require("./props.js"), t = require("../../../../common/vendor.js");

require("../../../uv-ui-tools/libs/function/index.js"), require("../../../uv-ui-tools/libs/function/test.js"), 
require("../../../uv-ui-tools/libs/function/digit.js"), require("../../../uv-ui-tools/libs/util/route.js"), 
require("../../../uv-ui-tools/libs/function/debounce.js"), require("../../../uv-ui-tools/libs/function/throttle.js");

var r = {
    name: "uv-overlay",
    emits: [ "click" ],
    mixins: [ i.mpMixin, o.mixin, e.props ],
    watch: {
        show: function(i) {}
    },
    computed: {
        overlayStyle: function() {
            var i = {
                position: "fixed",
                top: 0,
                left: 0,
                right: 0,
                zIndex: this.zIndex,
                bottom: 0,
                "background-color": "rgba(0, 0, 0, ".concat(this.opacity, ")")
            };
            return this.$uv.deepMerge(i, this.$uv.addStyle(this.customStyle));
        }
    },
    methods: {
        clickHandler: function() {
            this.$emit("click");
        },
        clear: function() {}
    }
};

Array || t.resolveComponent("uv-transition")(), Math;

var s = t._export_sfc(r, [ [ "render", function(i, o, e, r, s, u) {
    return {
        a: t.o(u.clickHandler),
        b: t.o(u.clear),
        c: t.p({
            show: i.show,
            mode: "fade",
            "custom-class": "uv-overlay",
            duration: i.duration,
            "custom-style": u.overlayStyle
        })
    };
} ], [ "__scopeId", "data-v-65481522" ] ]);

wx.createComponent(s);